#ifdef DEBUG
#define JGLog(...) NSLog(__VA_ARGS__)
#else
#define JGLog(...)
#endif

#define JGColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define JGGlobalBg JGColor(230, 230, 230)

#define JGNotificationCenter [NSNotificationCenter defaultCenter]

extern NSString *const JGCityDidChangeNotification;
extern NSString *const JGSelectCityName;

extern NSString *const JGSortDidChangeNotification;
extern NSString *const JGSelectSort;

extern NSString *const JGCategoryDidChangeNotification;
extern NSString *const JGSelectCategory;
extern NSString *const JGSelectSubcategoryName;

extern NSString *const JGRegionDidChangeNotification;
extern NSString *const JGSelectRegion;
extern NSString *const JGSelectSubregionName;

//收藏
extern NSString *const JGCollectStateDidChangeNotification;
extern NSString *const JGIsCollectKey;
extern NSString *const JGCollectDealKey;

/** 城市名的key（userDefault） */
extern NSString *const JGRecentSelectedCityName;
